package com.yuyou.fn.timer.task;

import com.github.wens.mybatisplus.examples.Example;
import com.yuyou.fn.common.util.Utils;
import com.yuyou.fn.educational.entity.CourseClass;
import com.yuyou.fn.educational.entity.FinishLecture;
import com.yuyou.fn.educational.entity.StudentReg;
import com.yuyou.fn.educational.service.ICourseClassService;
import com.yuyou.fn.educational.service.IFinishLectureService;
import com.yuyou.fn.educational.service.IStudentRegService;
import com.yuyou.fn.settlement.constant.Subjects;
import com.yuyou.fn.settlement.entity.ChangeRecord;
import com.yuyou.fn.settlement.service.ISettlementService;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by wens on 2017/4/19.
 */
public class CalCourseRoomCostTask implements Runnable {


    @Resource
    private IFinishLectureService finishLectureService ;


    @Override
    public void run() {

        Example<FinishLecture> finishLectureExample = FinishLecture.createExample();
        finishLectureExample.createCriteria().andEqualTo("isCalRoomCost" , "0");

        List<FinishLecture> finishLectureList = finishLectureService.findListByExample(finishLectureExample);

        for(FinishLecture finishLecture : finishLectureList ){

        }


    }

}
